@extends('wechat.member-layout')

@section('head')
    <meta name="format-detection" content="telephone=no, address=no">
    <meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
    <meta name="apple-touch-fullscreen" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="shortcut icon" href="/image/wechat.jpg" />
    <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
    <script type="text/javascript" src="http://{{ env('QINIU_DOMAIN') }}/js/app/util.js"></script>
    <script src="http://{{ env('QINIU_DOMAIN') }}/js/app/require.js"></script>
    <script type="text/javascript" src="http://{{ env('QINIU_DOMAIN') }}/js/jquery-1.11.1.min.js?v=20170802"></script>
    <script type="text/javascript" src="http://{{ env('QINIU_DOMAIN') }}/js/lib/mui.min.js?v=20170802"></script>
    <script type="text/javascript" src="http://{{ env('QINIU_DOMAIN') }}/js/app/common.js?v=20170802"></script>
    <link href="http://{{ env('QINIU_DOMAIN') }}/css/bootstrap.min.css?v=20170802" rel="stylesheet">
    <link href="http://{{ env('QINIU_DOMAIN') }}/css/common.min.css?v=20170802" rel="stylesheet">
    <script type="text/javascript">
        if(navigator.appName == 'Microsoft Internet Explorer'){
            if(navigator.userAgent.indexOf("MSIE 5.0")>0 || navigator.userAgent.indexOf("MSIE 6.0")>0 || navigator.userAgent.indexOf("MSIE 7.0")>0) {
                alert('您使用的 IE 浏览器版本过低, 推荐使用 Chrome 浏览器或 IE8 及以上版本浏览器.');
            }
        }
    </script>
    <style>
        h5{color:#555;}
    </style>
@endsection

@section('content')
    <div class="container container-fill">
        <script type="text/javascript">
            util.message('余额不足！', '', 'error');
        </script>
        <div class="text-center footer" style="margin:10px 0; width:100%; text-align:center; word-break:break-all;">
            &nbsp;&nbsp;			</div>
    </div>
@endsection

@section('js')
    <script type="text/javascript">
        $(function(){
            wx.config(jssdkconfig);
            var $_share = {"title":"\u6620\u6620\u6620\u6708\u5149","imgUrl":"","desc":"","link":"http:\/\/qiushi.shaanxidj.org.cn\/app\/index.php?i=10&c=entry&do=cash&m=czt_tushang&u=3669"};
            if(typeof sharedata == 'undefined'){
                sharedata = $_share;
            } else {
                sharedata['title'] = sharedata['title'] || $_share['title'];
                sharedata['desc'] = sharedata['desc'] || $_share['desc'];
                sharedata['link'] = sharedata['link'] || $_share['link'];
                sharedata['imgUrl'] = sharedata['imgUrl'] || $_share['imgUrl'];
            }
            if(sharedata.imgUrl == ''){
                var _share_img = $('body img:eq(0)').attr("src");
                if(_share_img){
                    sharedata['imgUrl'] = util.tomedia(_share_img);
                }
            }
            if(sharedata.imgUrl == ""){
                sharedata.imgUrl = window.sysinfo.attachurl + 'images/global/wechat_share.jpg';
            }
            if(sharedata.desc == ''){
                var _share_content = util.removeHTMLTag($('body').html());
                if(typeof _share_content == 'string'){
                    sharedata.desc = _share_content.replace($_share['title'], '')
                }
            }
            wx.ready(function () {
                wx.onMenuShareAppMessage(sharedata);
                wx.onMenuShareTimeline(sharedata);
                wx.onMenuShareQQ(sharedata);
                wx.onMenuShareWeibo(sharedata);
            });
            if ($('.js-quickmenu').size() > 0) {
                var h = $('.js-quickmenu .nav-home').height()+20+'px';
                $('body').css("padding-bottom",h);
                $('body .mui-content').css("bottom",h);
            } else if($('.nav-menu-app').size() > 0) {
                var h = $('.nav-menu-app').height()+'px';
                $('body').css("padding-bottom",h);
                $('.mui-content').css('bottom',h);
            }else{
                $('body').css("padding-bottom", "0");
                $('.mui-content').css('bottom', "0");
            }
        });
    </script>
@endsection